package com.bean.pojo;

import org.apache.ibatis.type.Alias;

/**
 * @author: 晓帆
 * @description:
 * @create: 2021-06-17 10:04
 **/
@Alias(value = "user")
public class User {
    private Integer id;
    private String username;
    private String nickname;
    private String password;
    private String recipient;
    private String address;
    private String tel;

    public User(Integer id, String username, String nickname, String password, String recipient, String address, String tel) {
        this.id = id;
        this.username = username;
        this.nickname = nickname;
        this.password = password;
        this.recipient = recipient;
        this.address = address;
        this.tel = tel;
    }

    public User() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRecipient() {
        return recipient;
    }

    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
}
